aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/thematique/[slug].tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/thematique/[slug].tsx')
-rw-r--r--src/pages/thematique/[slug].tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx
index e290782..6ab349d 100644
--- a/src/pages/thematique/[slug].tsx
+++ b/src/pages/thematique/[slug].tsx
@@ -74,7 +74,7 @@ const ThematicPage: NextPageWithLayout<ThematicPageProps> = ({ data }) => {
title: data.currentThematic.title,
url: `${ROUTES.THEMATICS}/${data.currentThematic.slug}`,
});
- const { ref, tree } = useHeadingsTree({ fromLevel: 2 });
+ const { ref, tree } = useHeadingsTree<HTMLDivElement>({ fromLevel: 2 });
if (isFallback || isLoading) return <LoadingPage />;